package com.example.demo.enums;

/**
 * @author liguang03
 * @date 2023/11/21
 */
public enum RoleEnum {
    USER("user", "普通用户"),
    TRAINER("trainer", "培训师"),
    ADMIN("admin", "管理员"),
    ;


    private String identify;
    private String desc;

    RoleEnum(String identify, String desc) {
        this.identify = identify;
        this.desc = desc;
    }

    public String getIdentify() {
        return identify;
    }

    public String getDesc() {
        return desc;
    }
}
